package com.guli.cart.service;

import com.guli.cart.vo.CartItemVo;
import com.guli.cart.vo.CartVo;
import com.guli.common.utils.R;

/**
 * @author WZH
 * @title: CartService
 * @projectName gulimall-java
 * @description:
 * @date 2022/1/19
 */
public interface CartService {
    void addToCart(String skuId, Integer num);

    CartItemVo getCart(String skuId);

    CartVo getCartVo();

    void updCheck(Long skuId, Boolean check);

    void updNum(Long skuId, Integer num);

    void del(Long skuId);

    R getCartCheckList();
}
